<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta name="screen-orientation" content="portrait">
    <meta name="x5-orientation" content="portrait">
    <title>聚财通</title>
    <link rel="stylesheet" href="../../styles/h5/reset.min.css"/>
    <link rel="stylesheet" href="../../styles/h5/errortankuang.css"/>
    <!--以上为公共css样式-->
    <link rel="stylesheet" href="../../styles/h5/fund.css"/>

    <script charset="utf-8" type="text/javascript" src="../../scripts/h5/jquery-1.9.1.min.js"></script>
    <script charset="utf-8" type="text/javascript" src="../../scripts/h5/jquery.modal.js"></script>
    <!--以上为公共js文件-->
</head>
<body style="background: #fff">
<div class="zz-banner-jj">
    <span class="zz-platform-jj">联动优势官方理财平台</span>
    <ul class="zz-icon-jj">
        <li>
            <span class="zz-user-jj"></span>
            <span>3000万用户</span>
        </li>
        <li>
            <span class="zz-bank-jj"></span>
            <span>高于银行收益10倍</span>
        </li>
        <li>
            <span class="zz-save-jj"></span>
            <span>资金100%安全</span>
        </li>
    </ul>
</div>
<div class="zz-top-10"></div>
<div class="zz-jct-jj">聚财通</div>
<div class="zz-jct-content-jj">
    <div class="zz-settle-jj">结算资金全自动理财，赎回取出当天到账</div>
    <div class="clear">
        <div class="zz-rateL-jj">
            <span class="zz-rate-jj">--</span>
            <span class="zz-seven-jj">近七日年化</span>
            <span>(招商招财宝货币A)</span>
        </div>
        <div class="zz-vs-jj"></div>
        <div class="zz-rateR-jj">
            <span class="zz-interestRate-jj"></span>
            <span class="zz-same-jj">同期银行活期利率</span>
        </div>
    </div>
    <div class="zz-content-b-jj clear">
        <span class="zz-jiefang-jj">解放资金频繁转出再理财</span><span class="zz-suishi-jj">随时可取消自动申购/设置自动申购</span>
    </div>
</div>
<input class="footer zz-footTop" type="button" value="立即去赚钱">
<input class="zz-close" type="button" value="了解详情">
</body>

<script charset="utf-8" type="text/javascript" src="../../scripts/h5/utils.js"></script>
<script charset="utf-8" type="text/javascript" src="../../scripts/h5/index.js"></script>
<script charset="utf-8" type="text/javascript">
    $.ajax({
        url: utils.ajaxUrl()+"h5/fundQuery/annualRate",
        async: false,
        type: 'get',
        success: function (res) {
            //var res = JSON.parse(res);
            console.log(res);
            if (res && res.retCode == '0000') {
            	if(res.syl !=null && res.syl>0){
            		$(".zz-rate-jj").html(res.syl+"%");
            	}
                
                $(".zz-interestRate-jj").html(res.bankRateCall);
            } else {
                utils.error("sx.png","啊哦，数据异常");
            }
        },
        error:function (){
            utils.error("wlyc.png","啊哦，连接不到网络呢");
        }
    });

    $(".footer").click(function (){
        window.location.href = "../../html/h5/fundOpenBalance.html";
    });
    $(".zz-close").click(function (){
        window.location.href = "../../html/h5/fundPublicQuery.html";
    })
</script>
</html>